Assignment3/Assignment3.png
Part 2: sample input form with errors automatically corrected
Assignment3/Assignment3a.png
Part 2: sample input form with error detected and reported

ICT-4570 Homework 3

Purpose

This exercise allows you to use control logic in JavaScript, and to experience how arithmetic is done.

What to Hand In

Canvas submission instructions:
Please combine multiple files into a single "zip" archive, and save it in a location that you will remember. When you are ready to submit the assignment solution, open the assignment in Canvas, and click on the Submit for Evaluation button at the top, attach the file, and click Submit for Evaluation at the bottom.

Problems

  1. Control logic redux
    1. Revisit the previous assignment, part 1, and add logic to catch errors, cancelations, or other, incorrect input and properly handle it
    2. Revisit the previous assignment, part 2, and add logic to catch errors, or other, incorrect input and properly handle it
  2. Describe your error-handling strategy in a paragraph. Is it more important to try to make some sense of the user's input, or is it better to stop and let the user know something isn't right?

Notes

Evaluation

Criteria Weight
HTML, CSS, and JavaScript for part 1 40
HTML, CSS, and JavaScript for part 2 40
Screenshots of results for part 1 and part 2 10
Paragraph on error handling philosophy 10